package com.karry.yl.domain.healthdata;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.karry.commons.base.SuperEntity;

/**
 * 健康数据项目
 */
@TableName("health_data_item")
public class HealthDataItem extends SuperEntity {
    private String name;  //健康项目名称

    private String standardValues;  //标准值

    @JsonSerialize(using= ToStringSerializer.class)
    private Long typeId; //所属类别

    @TableField(exist = false)  //表示该属性不为数据库表字段，但又是必须使用的。
    private String typeName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStandardValues() {
        return standardValues;
    }

    public void setStandardValues(String standardValues) {
        this.standardValues = standardValues;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}
